<div class="p_comments">
	<ul class="toolbar">
    	<li class="like"><i></i>
            <a href="$row['pid']" name="<!--{if $like}unlike{else}like{/if}-->" id="like"><!--{if $like}{lang unlike}{else}{lang like}{/if}--></a>
            <input type="hidden" id="ulike" value="$row['plike']" />
        <!--{if $row['plike'] > 0}-->
        	(<span id="ltotal"><!--{$row['plike']}--></span><!--{lang user_like}-->)
		<!--{/if}-->
        </li>
        <li class="lcomment"><i></i><a id="clickPC"><!--{lang binh_luan}--></a></li>
        <li class="share"><i></i><a id="a_share" href="home.php?mod=spacecp&amp;ac=share&amp;type=product&amp;id=$row['pid']&amp;handlekey=sharebloghk_$row['pid']" onclick="showWindow(this.id, this.href, 'get', 0);"><!--{lang share}--></a></li>
        <li class="lastupdate"><i></i><!--{lang cap_nhat}{date($row['lastupdate'], 'u', 9999, $_G['setting']['dateformat'])}--></li>
        <!--{if $visits > 0}-->
        <li class="visit"><i></i><!--{lang ban_da_xem_san_pham_nay}{date($visits, 'u', 9999, $_G['setting']['dateformat'])}--></li>
        <!--{/if}-->
    </ul>
    <i class="arrowup"></i>
    <div class="cmt hcmd">
    	<!--{if $row['plike'] > 0}-->
        <dl class="totallike li_border_bt"><a href="javascript:;" name="$row['pid']" id="showliked"><span><!--{lang tong_so_like}--></span></a></dl>
        <!--{/if}-->
    	<!--{if ($total_comment > $pclimit)}-->
        <dl class="totalpc li_border_bt"><a href="javascript:;" id="$row['pid']" class="morepc"><span><!--{lang xem_tat_ca_binh_luan}--></span></a></dl>
        <!--{/if}-->
        <div id="resultpc"></div>
        <div id="firstpc" class="mbm">
            <div id="comment_ul" class="xld xlda">
            <!--{loop $comments $k $value}-->
                <!--{template home/space_comment_li}-->
            <!--{/loop}-->
            <div id="list_comment"></div>
            </div>
        </div>
    <!--{if (!$_G['uid'])}-->
        <div class="warning"><!--{lang ban_can_dang_nhap_de_binh_luan}--></div>
    <!--{else}-->
        <table cellpadding="0" width="100%">
            <tr>
                <td valign="top" width="50px">
                    <div class="avt">
                        <a href="home.php?mod=space&uid=$_G['uid']" class="avt_l" c="1"><!--{avatar($_G['uid'],small)}--></a>
                    </div>
                </td>
                <td width="*">
                    <form id="commentform" method="post" action="home.php?mod=spacecp&ac=comment" onsubmit="return ajaxpost('commentform', 'return_formcomment')">
                        <input type="hidden" name="id" value="$row['pid']" />
                        <input type="hidden" name="idtype" value="product" />
                        <input type="hidden" name="commentsubmit" value="true" />
                        <input type="hidden" name="handlekey" value="formcommentreturn" />
                        <input type="hidden" name="formhash" value="{FORMHASH}" />
                        <div class="smile">
                            <span id="face_{$row['pid']}" title="{lang insert_emoticons}" onclick="showFace(this.id, 'message_pop_{$row['pid']}');return false;" class="cur1"><img src="{IMGDIR}/facelist.gif" alt="facelist" class="vm" /></span>
                            <span id="note_{$row['pid']}"></span>  
                        </div>
                        <textarea id="message_pop_{$row['pid']}" name="message" onkeydown="ctrlEnter(event, 'commentsubmit_btn');" rows="1" class="pts pcmessage"></textarea>
                        <button type="submit" name="commentsubmit_btn" id="commentsubmit_btn" value="true" style="display:none;" class="pn"><strong>{lang reply}</strong></button>
                    </form>
                    <div id="return_formcomment"></div>
                </td>
            </tr>
        </table>
        <script type="text/javascript">
        function succeedhandle_formcommentreturn(url, message, values){
            pro_comment(values['cid'], 'commentform', 'list_comment');
        }
        </script>
    <!--{/if}-->
    </div>
</div>